const fs = require('fs')

fs.writeFile('./files/02.txt','hello 02',function(err){
	if(err){
		return console.log('文件写入失败：\n'+err.message)
	}
	console.log('文件写入成功！')
})